#ifndef usart_h_
#define usart_h_

#include <stm32f4xx.h>
#include <stm32f4xx_rcc.h>
#include <stm32f4xx_usart.h>
#include <stm32f4xx_gpio.h>
#include <stm32f4xx_tim.h>
#include <misc.h>
#include "FlightControl.h"

void Transmit_Telemetry(struct FlightDataStruct* state);
void init_usart(void);
void USART_puts(USART_TypeDef* USARTx, volatile char *s);
void fudgebitrate();
void get_dec_str (uint8_t* str, char len, int oval);

#endif
